package com.aat.dizena.assist.annotation;
import java.lang.annotation.*;

import com.aat.dizena.base.CommonConstant;

/**
 * @time 2016-05-25
 * @author 新歌<xingeking@163.com>
 * @email xingeking@163.com
 * @version v1.0
 * @function 当前用户
 * @info java spring aop
 * @update none
 */
@Target({ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface CurrentUser {

    /**
     * 当前用户在request中的名字
     *
     * @return
     */
	String value() default CommonConstant.CURRENT_USER;

}